//
//  ServiceCell.m
//  Hxcsfw
//
//  Created by qiysoft on 2017/12/6.
//  Copyright © 2017年 企友软mac. All rights reserved.
//

#import "ServiceCell.h"

@implementation ServiceCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    if (iPhone5SE) {
        _hConst.constant = 125;
    }else if (iPhone6_6s) {
        _hConst.constant = 140;
    }else if (iPhone6Plus_6sPlus) {
        _hConst.constant = 160;
    }else if (XIPHONE) {
        _hConst.constant = 150;
    }else {
        _hConst.constant = 130;
    }
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (IBAction)btnClick:(UIButton *)sender {

    if (self.delegate && [self.delegate respondsToSelector:@selector(servicedelegatBtnClick:)]){
        [self.delegate servicedelegatBtnClick:sender];
    }
}


@end
